 <footer>
    <div class="author">
      demo Official website:
      <a href="http://{{.Website}}">{{.Website}}</a> /
      Contact me:
      <!--
      1. view讲解,我们在default定义方法然后来做判断,是否显示邮箱
      2. eq是等于,ne是不等于 lt是小于 gt是大于 le是小于等于 ge是大于等于

      -->
      {{if eq .IsEmail 1}}
        <a class="email" href="mailto:{{.Email}}">{{.Email}}</a>
      {{else}}
        <a class="email" href="mailto:{{.Email}}">"禁止显示"</a>
      {{end}}
    </div>
  </footer>